package com.nut.lmsc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nut.lmsc.entity.MemberAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MemberAddressMapper extends BaseMapper<MemberAddress> {

    @Select("select  * from biz_member_address where member_id=#{memberId} and deleted=0")
    List<MemberAddress> selectByMemberId(@Param("memberId") Long memberId);

}